<template>
    <div class="box">
        <h3>Child1组件 - 接收数据</h3>

    </div>
</template>

<script>
export default {
    name: "Child1",
    mounted() {
        this.$bus.$on('receiveParams', this.receiveParams);
    },
    methods: {
        receiveParams(params) {
            console.log('Child1接收的参数', params)
        }
    }
}
</script>

<style scoped>

</style>